package com.zhuhjay.boot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 用来访问主页的控制器
 * @author ZhuHJay
 * @date 2022/4/1 17:58
 */
@Controller
public class MainController {

    @RequestMapping("/main")
    public String main(){
        return "redirect:/pages/main.html";
    }

}
